<%@ include file="/common/taglibs.jsp" %>

<head>
    <title><fmt:message key="zone.list.title"/></title>
    <meta name="heading" content="<fmt:message key='zone.list.heading'/>"/>
    <meta name="menu" content="AdminMenu"/>
</head>

<div class="span12">
    <h2><fmt:message key="zone.list.heading"/></h2>

    <%-- <div id="search">
        <form method="get" action="${ctx}/zhospitals.action" id="searchForm" class="form-search">
            <input type="text" size="20" name="q" id="query" value="${param.q}"
                   placeholder="Enter search terms..." class="input-medium search-query"/>
            <input type="submit" value="<fmt:message key="button.search"/>" class="btn"/>
        </form>
    </div> --%>

    <%-- <display:column property="officerName" escapeXml="true" sortable="false" titleKey="zone.officername"
                        style="width: 20%"/>
		<display:column property="address" escapeXml="true" sortable="false" titleKey="zone.address"
                        style="width: 10%"/>                        
        <display:column property="email" sortable="false" titleKey="zone.email" style="width: 25%" autolink="true"
                        media="html"/>
        <display:column sortProperty="mobileNumber" sortable="false" titleKey="zone.mobile.number"
                        style="width: 14%; padding-left: 15px" media="html"/> --%>
    
    
    <display:table name="zoneList" cellspacing="0" cellpadding="0" requestURI=""
                   defaultsort="1" id="zones" pagesize="25" class="table table-condensed" export="false">
                   
                 
          <display:column  property="id" escapeXml="true" sortable="false" titleKey="zone.id" style="width: 15%"  />         
                   
        <display:column property="name" escapeXml="true" sortable="false" titleKey="zone.name" style="width: 25%"
                        />
        

		<display:column  style="width: 25%">
			<a href="zhospitals.action?from=list&zoneId=<c:out value="${zones.id}"/>"><fmt:message key="menu.zone.admin.view.hospital"/></a>
		</display:column>
		<display:column  style="width: 35%">
			<a href="zoneDashboard.action?from=list&zoneId=<c:out value="${zones.id}"/>"><fmt:message key="menu.zone.admin.view.summary"/></a>
		</display:column>
		
        <display:setProperty name="paging.banner.all_items_found" value=""/>
    </display:table>
</div>
